Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

For those of you interested in downloading the daily build, I have let
the cat out of the bag today, in which we will have version 2.5.2 in the next coming weeks.

Why the update if we are on schedule for 2.6? Well, these features where left out of 2.5 until I was sure they where ok and now they are.

So what does the update include:

1. Two new interception points: afterHandlerCreation, afterPluginCreation

2. Fixes for using the coldboxproxy with event gateways (Thanks Tom!)

3. API documentation

4. Lightwire updated to include "containsBean" method

5. Due to the popularity of the flash RC persitance via setNextEvent and setNextRoute, the method has been now exposed to the controller and all plugins/handlers/interceptors. You can now persist variables from the collection into the flash RC Ram via the method:

"persistVariables(comma-delimmited list of keys)".

You can now use it to persist on demand. (Thanks Mark!!)

6. One new interceptor: autowire.cfc

This amazing interceptor will autowire your handlers and plugins with beans from the ioc plugin (whether coldspring or lightwire). So you can easily autowire your handlers and plugins with service objects or whatever you want. Man, am I gonna have to configure mooore stuff. Well, not thanks to conventions and metadata. All you do is:

- Declare the 'autowire=true' in your cfcomponent declaration.

- Then just create the getter/setters for your services (*They have to
be the same name as the bean names in your configurations)

And that is IT!!! No configuration, just add the "autowire" metadata parameter
to your handlers and plugins, create the getters and setters and you
are ready to roll.

The interceptor declaration would be:
true

The debugmode property just spits out to the log files any errors or
information stuff.

So there you go, one more surprise coming probably in about a week and
2.5.2 is a go!!

Enjoy the autowire interceptor!!

Add Your Comment

(1)

Jan 16, 2008 21:27:55 UTC

by Tony Garcia

Awesome stuff Luis. You put out cool new features so often, I can't keep up! Looking forward to playing with this stuff. Thanks!

Recent Entries

Into the Box 2024: Your Gateway to the Future of Tech!

Into the Box 2024: Your Gateway to the Future of Tech!

Are you ready to advance your coding skills? The future of Modern Web Development awaits at Into the Box 2024, and we're thrilled to announce that due to high demand, we're extending our Early Bird pricing for an additional week!

Maria Jose Herrera
Maria Jose Herrera
April 26, 2024
Hackers demand a ransom to restore data from my ColdFusion web applications!

Hackers demand a ransom to restore data from my ColdFusion web applications!

Hackers demand a ransom to restore data from my ColdFusion web applications!

Unfortunately, we often hear this message from clients who thought it would never happen to them... until it did. Some believed they could delay the expense of Implementing ColdFusion security best practices for one year, while others were tempted to put it off for just a few months. However, in today's rapidly evolving digital landscape, the security of web applications, including ColdFusio...

Cristobal Escobar
Cristobal Escobar
April 16, 2024
Ortus March Newsletter

Ortus March Newsletter

Welcome to Ortus Solutions’ monthly roundup, where we're thrilled to showcase cutting-edge advancements, product updates, and exciting events! Join us as we delve into the latest innovations shaping the future of technology.

Maria Jose Herrera
Maria Jose Herrera
April 01, 2024